﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BaiTaptuan1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            float a = Convert.ToInt32(this.textBox1.Text);
            float b = Convert.ToInt32(this.textBox2.Text);
            float c = a + b;
            textBox3.Text = Convert.ToString(c); textBox3.Show();
        }

        private void button5_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
